checkbutton: Activate when moving focus
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 30 Jul 2021 18:18:36 +0000 (20:18 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 30 Jul 2021 18:34:24 +0000 (20:34 +0200)
commit1728aa581c19dc70e05aae59bf9b82ac87ed7c74
tree044bf65d9ddc27d2cddba72554b2d008ccfa1d2b
parentc50475de34f66a97ea8fb57c722d7290b9f60d44
checkbutton: Activate when moving focus

Currently we update the :active property on both the previous and
new focus button. That "visually activate" the button and will
emit ::toggled, but if the button is associated with an action,
the action state won't change.

Fix that by activating the new focus instead of explicitly fiddling
with the :active property.
gtk/gtkcheckbutton.c